 Process this file with autoconf to produce a configure script.

AC_PREREQ(2.59)

AC_INIT([lsd],[0.2.1])

AC_CONFIG_SRCDIR([config.h.in])
AC_CONFIG_HEADERS([config.h])

AM_INIT_AUTOMAKE([gnu 1.7])
AM_MAINTAINER_MODE

#########################################################################
#  Environment Checks
#########################################################################
AC_PROG_CC
AC_PROG_CPP
AC_PROG_MAKE_SET
AC_CANONICAL_HOST
AM_DISABLE_STATIC

# C++ checks
AC_PROG_CXX
AC_CXX_BOOL
AC_CXX_EXCEPTIONS
AC_CXX_NAMESPACES
AC_CXX_TEMPLATES
AC_CXX_STATIC_CAST
AC_CXX_HAVE_STD
AC_CXX_HAVE_STL

AC_CONFIG_SRCDIR([src/CLSystem.h])

# Chequeo dependencias
GTKMM_VERSION_NEEDED=2.4.0
LIBGLADEMM_VERSION_NEEDED=2.4.0
GTKGLEXTMM_VERSION_NEEDED=1.0.0
PKG_CHECK_MODULES([LSD],[gtkmm-2.4 >= $GTKMM_VERSION_NEEDED libglademm-2.4 >= $LIBGLADEMM_VERSION_NEEDED gtkglextmm-1.0 >= $GTKGLEXTMM_VERSION_NEEDED])

AC_SUBST(LSD_CFLAGS)
AC_SUBST(LSD_LIBS)

AC_CONFIG_FILES([
	Makefile
	    src/Makefile 
	    lsystems/Makefile
])

AC_OUTPUT
